/* Markdown 内容样式 */
.blog-content :deep(h1) {
  font-size: 2.2rem;
  margin-top: 0.5em;
  color: var(--primary);
  padding-bottom: 0.3em;
  border-bottom: 2px solid var(--primary-light);
}

.blog-content :deep(h2) {
  font-size: 1.8rem;
  margin: 1.3em 0 0.8em;
  color: var(--primary);
  position: relative;
  padding-left: 15px;
  border-left: 5px solid var(--primary-light);
}

.blog-content :deep(h3) {
  font-size: 1.5rem;
  margin: 1.2em 0 0.6em;
  color: var(--primary);
}

.blog-content :deep(h4) {
  font-size: 1.3rem;
  margin: 1.1em 0 0.5em;
  color: var(--primary);
  position: relative;
  padding-left: 10px;
}

.blog-content :deep(h5) {
  font-size: 1.1rem;
  margin: 1em 0 0.4em;
  color: var(--primary);
}

.blog-content :deep(h6) {
  font-size: 1rem;
  margin: 0.9em 0 0.3em;
  color: var(--primary);
}

.blog-content :deep(h1)::after,
.blog-content :deep(h2)::after,
.blog-content :deep(h3)::after,
.blog-content :deep(h4)::after,
.blog-content :deep(h5)::after,
.blog-content :deep(h6)::after {
  content: var(--title-gift);
  position: absolute;
  margin-left: 10px;
  transition: 1s;
}
.blog-content :deep(h1):hover::after,
.blog-content :deep(h2):hover::after,
.blog-content :deep(h3):hover::after,
.blog-content :deep(h4):hover::after,
.blog-content :deep(h5):hover::after,
.blog-content :deep(h6):hover::after {
  transform: scale(1.3) rotateY(180deg);
}

.blog-content :deep(blockquote) {
  border-left: 4px solid var(--primary);
  color: var(--text);
  padding: 0.5em 1em;
  margin: 1.5em 0;
  background: var(--bg-darker);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.blog-content :deep(ul),
.blog-content :deep(ol) {
  margin: 1em 0;
  color: var(--text);
  padding-left: 1.5em;
}

.blog-content :deep(li) {
  margin: 0.5em 0;
  color: var(--text);
}

.blog-content :deep(table) {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background: var(--bg-darker);
  border-radius: 8px;
  overflow: hidden;
}

.blog-content :deep(th) {
  background: var(--primary);
  color: var(--text);
  font-weight: 600;
  padding: 12px 15px;
  text-align: left;
}

.blog-content :deep(td) {
  padding: 10px 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--glass-border);
}

.blog-content :deep(p) {
  color: var(--text);
}
